<?php
/**
 * @file  collection of exceptions used in fiasco framework
 */

class Page extends Exception
{
	private $page;
	
	public function __construct($page = array('body' => "", "title" => "")) 
	{
		parent::__construct();
		$page += array('body' => "", "title" => "");
		$this->page  = $page;
	}

	public function getMessage()
	{
		return $this->page;
	}
}
